<?php

// 修改配置
define('IS_SINA', true); // sina平台改成true

Config::set(array(
    'db'     => array('mysql', $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT'], $_SERVER['SINASRV_DB_USER'], $_SERVER['SINASRV_DB_PASS'], $_SERVER['SINASRV_DB_NAME']), // 主db
    'db_r'   => array('mysql', $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R'], $_SERVER['SINASRV_DB_USER_R'], $_SERVER['SINASRV_DB_PASS_R'], $_SERVER['SINASRV_DB_NAME_R']), // 从db
    'compile_dir'  => $_SERVER['SINASRV_CACHE_DIR'].'compile', // smarty编译目录
    'domainname'   => '/', // js, css, 图片域
	'att_dir'      => ROOT_PATH.'/attachments', // 附件地址
	'att_url'      => 'http://weiboapp.geek-zoo.com/attachments',//$_SERVER['SINASRV_NDATA_CACHE_URL'].'attachments', // 附件地址
    'WB_AKEY' => '3372745409', // sina app apikey
    'WB_SKEY' => '115d23d89cbf77db050c51cc40b128f1', // sina app secret key
));
?>